package com.igeekhome.mapper;

import com.igeekhome.pojo.DSendingMaintenanceList;
import com.igeekhome.pojo.DSendingMaintenanceListExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DSendingMaintenanceListMapper {

    List<DSendingMaintenanceList> selectAllByType(String sectionName);



    int countByExample(DSendingMaintenanceListExample example);

    int deleteByExample(DSendingMaintenanceListExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DSendingMaintenanceList record);

    int insertSelective(DSendingMaintenanceList record);

    List<DSendingMaintenanceList> selectByExample(DSendingMaintenanceListExample example);

    DSendingMaintenanceList selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DSendingMaintenanceList record, @Param("example") DSendingMaintenanceListExample example);

    int updateByExample(@Param("record") DSendingMaintenanceList record, @Param("example") DSendingMaintenanceListExample example);

    int updateByPrimaryKeySelective(DSendingMaintenanceList record);

    int updateByPrimaryKey(DSendingMaintenanceList record);
}